package com.woniu.smart.mapper;

import com.woniu.smart.dto.OperationDTO;
import com.woniu.smart.entity.Operation;
import com.woniu.smart.vo.OperationVO;
import com.woniu.smart.vo.WarningVO;

import java.util.List;

/**
* @author wangheng
* @description 针对表【operation】的数据库操作Mapper
* @createDate 2022-10-19 19:23:47
* @Entity com.woniu.smart.entity.Operation
*/
public interface OperationMapper {
    /**
     * @Description 查询所有运维记录及分页模糊查询
     * @date  14:31:50
     * @author PC
     * @param operationDTO
     * @return: java.util.List<com.woniu.smart.vo.OperationVO>
     */
    List<OperationVO> selectAll(OperationDTO operationDTO);
    int deleteByPrimaryKey(Long id);

    int insert(Operation record);

    int insertSelective(WarningVO record);

    OperationVO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OperationVO record);

    int updateByPrimaryKey(Operation record);

}
